//------------------------------------------------------------------------------ // // 此代码由工具生成。 // 运行时版本:4.0.30319.42000 // // 对此文件的更改可能会导致不正确的行为,并且如果 // 重新生成代码,这些更改将会丢失。 // //------------------------------------------------------------------------------ namespace Pcb.Common.WKSms { [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] [System.ServiceModel.ServiceContractAttribute(ConfigurationName="WKSms.smsSoap")] public interface smsSoap { [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/HelloWorld", ReplyAction="*")] [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] string HelloWorld(); [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/HelloWorld", ReplyAction="*")] System.Threading.Tasks.Task HelloWorldAsync(); [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/AddSms", ReplyAction="*")] [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] bool AddSms(string key, string tel, string note, byte projectType, byte smsType); [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/AddSms", ReplyAction="*")] System.Threading.Tasks.Task AddSmsAsync(string key, string tel, string note, byte projectType, byte smsType); [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/AddVoice", ReplyAction="*")] [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] bool AddVoice(string key, string tel, string note, byte projectType, byte smsType); [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/AddVoice", ReplyAction="*")] System.Threading.Tasks.Task AddVoiceAsync(string key, string tel, string note, byte projectType, byte smsType); } [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] public interface smsSoapChannel : Pcb.Common.WKSms.smsSoap, System.ServiceModel.IClientChannel { } [System.Diagnostics.DebuggerStepThroughAttribute()] [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] public partial class smsSoapClient : System.ServiceModel.ClientBase, Pcb.Common.WKSms.smsSoap { public smsSoapClient() { } public smsSoapClient(string endpointConfigurationName) : base(endpointConfigurationName) { } public smsSoapClient(string endpointConfigurationName, string remoteAddress) : base(endpointConfigurationName, remoteAddress) { } public smsSoapClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) : base(endpointConfigurationName, remoteAddress) { } public smsSoapClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) : base(binding, remoteAddress) { } public string HelloWorld() { return base.Channel.HelloWorld(); } public System.Threading.Tasks.Task HelloWorldAsync() { return base.Channel.HelloWorldAsync(); } public bool AddSms(string key, string tel, string note, byte projectType, byte smsType) { return base.Channel.AddSms(key, tel, note, projectType, smsType); } public System.Threading.Tasks.Task AddSmsAsync(string key, string tel, string note, byte projectType, byte smsType) { return base.Channel.AddSmsAsync(key, tel, note, projectType, smsType); } public bool AddVoice(string key, string tel, string note, byte projectType, byte smsType) { return base.Channel.AddVoice(key, tel, note, projectType, smsType); } public System.Threading.Tasks.Task AddVoiceAsync(string key, string tel, string note, byte projectType, byte smsType) { return base.Channel.AddVoiceAsync(key, tel, note, projectType, smsType); } } }